/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "Bus_合同分拆",TableName = "Bus_合同分拆")]
    public partial class Bus_合同分拆:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="guid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid guid { get; set; }

       /// <summary>
       ///分拆组号
       /// </summary>
       [Display(Name ="分拆组号")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       public long? 分拆组号 { get; set; }

       /// <summary>
       ///分拆次序
       /// </summary>
       [Display(Name ="分拆次序")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? 分拆次序 { get; set; }

       /// <summary>
       ///分拆编号
       /// </summary>
       [Display(Name ="分拆编号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 分拆编号 { get; set; }

       /// <summary>
       ///分拆类型
       /// </summary>
       [Display(Name ="分拆类型")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 分拆类型 { get; set; }

       /// <summary>
       ///总包合同编号
       /// </summary>
       [Display(Name ="总包合同编号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 总包合同编号 { get; set; }

       /// <summary>
       ///总包合同ID
       /// </summary>
       [Display(Name ="总包合同ID")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 总包合同ID { get; set; }

       /// <summary>
       ///单位
       /// </summary>
       [Display(Name ="单位")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 单位 { get; set; }

       /// <summary>
       ///定额编号
       /// </summary>
       [Display(Name ="定额编号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 定额编号 { get; set; }

       /// <summary>
       ///定额名称
       /// </summary>
       [Display(Name ="定额名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 定额名称 { get; set; }

       /// <summary>
       ///班组
       /// </summary>
       [Display(Name ="班组")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 班组 { get; set; }

       /// <summary>
       ///外包明细ID
       /// </summary>
       [Display(Name ="外包明细ID")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 外包明细ID { get; set; }

       /// <summary>
       ///外包明细名称
       /// </summary>
       [Display(Name ="外包明细名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 外包明细名称 { get; set; }

       /// <summary>
       ///外包明细规格
       /// </summary>
       [Display(Name ="外包明细规格")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 外包明细规格 { get; set; }

       /// <summary>
       ///外包明细型号
       /// </summary>
       [Display(Name ="外包明细型号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 外包明细型号 { get; set; }

       /// <summary>
       ///外包明细单位
       /// </summary>
       [Display(Name ="外包明细单位")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 外包明细单位 { get; set; }

       /// <summary>
       ///外包含税单价
       /// </summary>
       [Display(Name ="外包含税单价")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? 外包含税单价 { get; set; }

       /// <summary>
       ///外包含税金额
       /// </summary>
       [Display(Name ="外包含税金额")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? 外包含税金额 { get; set; }

       /// <summary>
       ///外包合同备注
       /// </summary>
       [Display(Name ="外包合同备注")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 外包合同备注 { get; set; }

       /// <summary>
       ///分拆状态
       /// </summary>
       [Display(Name ="分拆状态")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string 分拆状态 { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///创建用户ID
       /// </summary>
       [Display(Name ="创建用户ID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? CreateID { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///修改人ID
       /// </summary>
       [Display(Name ="修改人ID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ModifyID { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="项目经理")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 项目经理 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="总包合同项目名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 总包合同项目名称 { get; set; }

       /// <summary>
       ///本次派工数量
       /// </summary>
       [Display(Name ="本次派工数量")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       public decimal? 本次派工数量 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="任务名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 任务名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="定额类型")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 定额类型 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="定额单价")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       public decimal? 定额单价 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="班组id")]
       [Column(TypeName="uniqueidentifier")]
       public Guid? 班组id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="人员id")]
       [Column(TypeName="uniqueidentifier")]
       public Guid? 人员id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="人员姓名")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 人员姓名 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="外包ID")]
       [Column(TypeName="uniqueidentifier")]
       public Guid? 外包ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="工作开始时间")]
       [Column(TypeName="datetime")]
       public DateTime? 工作开始时间 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="工作结束时间")]
       [Column(TypeName="datetime")]
       public DateTime? 工作结束时间 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Properties")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string Properties { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="单据类型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string 单据类型 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="工期类型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string 工期类型 { get; set; }

       /// <summary>
       ///任务行号
       /// </summary>
       [Display(Name ="任务行号")]
       [Column(TypeName="bigint")]
       public long? 项目任务行号 { get; set; }

       /// <summary>
       ///任务明细ID
       /// </summary>
       [Display(Name ="任务明细ID")]
       [Column(TypeName="uniqueidentifier")]
       public Guid? 项目任务明细ID { get; set; }

       /// <summary>
       ///任务明细名称
       /// </summary>
       [Display(Name ="任务明细名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 项目任务明细名称 { get; set; }

       /// <summary>
       ///总包明细规格
       /// </summary>
       [Display(Name ="总包明细规格")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 项目任务明细规格 { get; set; }

       /// <summary>
       ///总包明细型号
       /// </summary>
       [Display(Name ="总包明细型号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 项目任务明细型号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="作业地点")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string 作业地点 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="交代事项")]
       [MaxLength(4000)]
       [Column(TypeName="nvarchar(4000)")]
       public string 交代事项 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="项目任务明细含税单价")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       public decimal? 项目任务明细含税单价 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="最近报工时间")]
       [Column(TypeName="datetime")]
       public DateTime? 最近报工时间 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="分拆状态值")]
       [Column(TypeName="int")]
       public int? 分拆状态值 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="结算类型")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string 结算类型 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="结算周期")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string 结算周期 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="结算金额")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       public decimal? 结算金额 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="结算开始日期")]
       [Column(TypeName="datetime")]
       public DateTime? 结算开始日期 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="结算结束日期")]
       [Column(TypeName="datetime")]
       public DateTime? 结算结束日期 { get; set; }

       
    }
}